| GUI Help > Menus > addMenuItem | ||||||||||||||
|
addMenuItem |
||||||||||||||
| addMenuItem handle menu, str caption, int returnValue | ||||||||||||||
|
Description: Adds an item to a menu created with createMenu, createSubMenu or createPopupMenu. When the user selects the item from the menu, a MENU_CLICK message is sent to the window which owns the menu, and eventData() contains the menu item id (taken from the returnValue parameter ^ ) |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |